/* menu selected */
var elm = $('#nav-menu a');left_elm = $('#left-menu a')
for (var i=0;i<elm.length;i++){
  if (window.location.href == elm[i].href ){
    elm[i].id='selected';
  }
}

for (var i=0;i<left_elm.length;i++){
  if (window.location.href == left_elm[i].href ){
    left_elm[i].id='left_selected';
  }
}
